﻿Public Class SetorNegocio

    Private _id As Nullable(Of Long)
    Public Overridable Property Id() As Nullable(Of Long)
        Get
            Return _id
        End Get
        Set(ByVal value As Nullable(Of Long))
            _id = value
        End Set
    End Property

    Private _codigo As String
    Public Overridable Property Codigo() As String
        Get
            Return _codigo
        End Get
        Set(ByVal value As String)
            _codigo = value
        End Set
    End Property

    Private _nome As String
    Public Overridable Property Nome() As String
        Get
            Return _nome
        End Get
        Set(ByVal value As String)
            _nome = value
        End Set
    End Property

    Private _usuario As Usuario
    Public Overridable Property Usuario() As Usuario
        Get
            Return _usuario
        End Get
        Set(ByVal value As Usuario)
            _usuario = value
        End Set
    End Property

    'Private _setorPai As SetorNegocio
    'Public Overridable Property SetorPai() As SetorNegocio
    '    Get
    '        Return _setorPai
    '    End Get
    '    Set(ByVal value As SetorNegocio)
    '        _setorPai = value
    '    End Set
    'End Property

End Class
